import request from "@/axios";

// 买家申请改价
export const customeralterpriceslideorder = option =>
  request({
    url: "/api/order/customeralterpriceslideorder",
    method: "post",
    data: option
  });

// 买家申请改价（套保）
export const customeralterpriceslidehedgeorder = option =>
  request({
    url: "/api/order/customeralterpriceslidehedgeorder",
    method: "post",
    data: option
  });

// 卖家同意改价
export const provideracceptalterprice = option =>
  request({
    url: "/api/order/provideracceptalterprice",
    method: "get",
    params: option
  });

// 卖家拒绝改价
export const providerrejectalterprice = option =>
  request({
    url: "/api/order/providerrejectalterprice",
    method: "get",
    params: option
  });

// 卖家改价
export const provideralterpriceslideorder = option =>
  request({
    url: "/api/order/provideralterpriceslideorder",
    method: "post",
    data: option
  });

// 卖家改价（套保）
export const provideralterpriceslidehedgeorder = option =>
  request({
    url: "/api/order/provideralterpriceslidehedgeorder",
    method: "post",
    data: option
  });

// 卖家申请修改确定价（待生成合同）
export const providerapplyalterconfirmfirmprice = option =>
  request({
    url: "/api/order/providerapplyalterconfirmfirmprice",
    method: "post",
    data: option
  });

// 卖家申请修改点价（待生成合同）
export const providerapplyalterslidebaseprice = option =>
  request({
    url: "/api/order/providerapplyalterslidebaseprice",
    method: "post",
    data: option
  });

// 买家同意修改基价
export const customeracceptalterslidebaseprice = option =>
  request({
    url: "/api/order/customeracceptalterslidebaseprice",
    method: "get",
    params: option
  });

// 买家拒绝修改基价
export const customerrejectalterslidebaseprice = option =>
  request({
    url: "/api/order/customerrejectalterslidebaseprice",
    method: "get",
    params: option
  });

// 买家同意修改含税单价
export const customeracceptalterconfirmfrimprice = option =>
  request({
    url: "/api/order/customeracceptalterconfirmfrimprice",
    method: "get",
    params: option
  });

// 买家拒绝修改含税单价
export const customerrejectconfirmfrimprice = option =>
  request({
    url: "/api/order/customerrejectconfirmfrimprice",
    method: "get",
    params: option
  });
